package com.ybkj.daijia.server.service;


import com.ybkj.daijia.page.Page;
import com.ybkj.daijia.server.model.OperationLog;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpSession;

/**
 * @author Shine
 */
public interface OperationLogService {

    /**
     * @param end
     * @param start
     * @param operating
     * @param driverid
     * @param end
     * @param start
     * @param name
     * @return name为null则查询出所有的信息，否则只查询出与name匹配的信息
     */
    public Page<OperationLog> queryAll(String operating, Date start, Date end);

    /**
     * @param admin
     * @return
     */
    public OperationLog insertRecord(OperationLog operationLog);

    /**
     * 查询一条通知信息
     *
     * @param id
     * @return
     */
    public OperationLog findOne(Long id);


    public void delete(OperationLog operationLog);


    public List<OperationLog> export(HttpSession session, String operating, Date start, Date end,
        Long timestamp);


}
